/*
 * This file is part of aion-engine 
 *
 * aion-engine is private software: you can redistribute it and or modify
 * it under the terms of the GNU Lesser Public License as published by
 * the Private Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * aion-engine is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser Public License for more details.
 *
 * You should have received a copy of the GNU Lesser Public License
 * along with aion-engine.  If not, see .
 */

package com.aionengine.gameserver.model.gm;

/**
 * @author Magenik
 */
public enum GmPanelCommands {

    /**
     * @STANDARD FUNCTION TAB
     */
    REMOVE_SKILL_DELAY_ALL,
    ITEMCOOLTIME,
    CLEARUSERCOOLT,
    SET_MAKEUP_BONUS,
    SET_VITALPOINT,
    SET_DISABLE_ITEMUSE_GAUGE,
    PARTYRECALL,
    ATTRBONUS,
    TELEPORTTO,
    RESURRECT,
    INVISIBLE,
    VISIBLE,
    /**
     * @CHARACTER SETTING TAB
     */
    LEVELDOWN,
    LEVELUP,
    CHANGECLASS,
    CLASSUP,
    DELETECQUEST,
    ADDQUEST,
    ENDQUEST,
    SETINVENTORYGROWTH,
    SKILLPOINT,
    COMBINESKILL,
    ADDSKILL,
    DELETESKILL,
    GIVETITLE,
    /**
     * @OVERALL FUNCTION TAB
     */
    ENCHANT100,
    FREEFLY,
    /**
     * @NPC QUEST ITEM TAB
     */
    TELEPORT_TO_NAMED,
    WISH,
    WISHID,
    DELETE_ITEMS;

    public static GmPanelCommands getValue(String command) {
        for (GmPanelCommands value : values()) {
            if (value.name().equals(command.toUpperCase())) {
                return value;
            }
        }
        throw new IllegalArgumentException("Invalid GmPanelCommands id: " + command);
    }
}